package talib

//提供给js使用
type TaLib struct {
}

func (m *TaLib) Avg(vals ...float64) float64 {
	return Avg(vals)
}

func (m *TaLib) Max(vals ...float64) float64 {
	return Max(vals)
}

func (m *TaLib) Min(vals ...float64) float64 {
	return Min(vals)
}

func (m *TaLib) MA(n int, vals ...float64) []float64 {
	return MA(vals, n)
}
